package com.ruoyi.web.controller.userheath.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("user_health")
public class UserHealth {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Integer steps;             // 今日步数
    private Double caloriesBurned;     // 今日消耗卡路里
    private Double weight;             // 用户体重 (kg)
    private LocalDate recordDate;      // 记录日期
    private LocalDateTime createdAt;   // 创建时间
    private LocalDateTime updatedAt;   // 更新时间
}
